/*
Autor: Alexander Savochkin, 2010
New BSD License
*/

#pragma once

#include <string>
#include <boost/cstdint.hpp> 

using std::string;
using boost::uint64_t;

namespace SRCLF {

typedef uint64_t ClientId;

	class ClientInfo
	{
		string connection_string;
		ClientId client_id; //Usually sothing like "tcp:6712","udp:3231",...e.t.c.
	public:
		ClientInfo( const string& _connection_string, ClientId _client_id ) : 
		  connection_string(_connection_string), client_id(_client_id) {}
		const string& getConnectionString() const { return connection_string; }
		ClientId getClientId() const { return client_id; }
	};

} //namespace SRCLF